<%--
  Created by IntelliJ IDEA.
  User: ricohgag
  Date: 2018/8/27
  Time: 15:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"  %>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>后台管理</title>
    <jsp:include page="../common/header.jsp"/>
    <jsp:include page="../../common/layer.jsp"></jsp:include>
    <link rel="stylesheet" type="text/css" href="${pathUrl}/public/css/adminindex.css">
    <link rel="stylesheet" type="text/css" href="${pathUrl}/public/css/font-awesome/font-awesome.min.css">
</head>
<body>

<div class="header-top">
    <div class="logo">
        LOGO
    </div>
    <div class="right">
        <img src="${pathUrl}/images/exit.png">&nbsp;<a   href="#" onclick="exit()" >退出</a>
    </div>
</div>
<div class="menus-left">
    <div class="menus-top">
        <img src="${pathUrl }/public/images/nikimg.png" class="img-re">
        <p class="xttong-admin">${sessionScope.username }</p>
        <p class="xitong-p">系统管理员</p>
    </div>
    <div class="menus-main">
        <ul>
            <li>
                <a href="${pathUrl }/admin/work/index" target="targetmain"> <i class="iconfont dicon  icon-home"></i>首页<i class="iconfont icon-angle-right right-jiantou"></i></a>
            </li>
            <li>
                <a href="${pathUrl }/admin/shopAd/index" target="targetmain"> <i class="iconfont dicon icon-picture"></i>广告管理<i class="iconfont icon-angle-right right-jiantou"></i></a>
            </li>
            <li>
                <a href="${pathUrl }/admin/goods/index" target="targetmain"> <i class="iconfont dicon icon-table"></i>产品管理<i class="iconfont icon-angle-right right-jiantou"></i></a>
            </li>
            <li>
                <a href="${pathUrl }/admin/goodsCatalog/index" target="targetmain"> <i class="iconfont dicon  icon-th-large"></i>产品分类<i class="iconfont icon-angle-right right-jiantou"></i></a>
            </li>
            <li>
                <a href="${pathUrl }/admin/news/index" target="targetmain"><i class="iconfont  dicon icon-book"></i>新闻资讯<i class="iconfont icon-angle-right right-jiantou"></i></a>
            </li>
            <li>
                <a href="${pathUrl }/admin/newsCatalog/index" target="targetmain"><i class="iconfont  dicon icon-bolt"></i>新闻分类<i class="iconfont icon-angle-right right-jiantou"></i></a>
            </li>
            <li>
                <a href="${pathUrl }/admin/order/index" target="targetmain"> <i class="iconfont  dicon  icon-truck"></i>订单管理<i class="iconfont icon-angle-right right-jiantou"></i></a>
            </li>
            <li>
                <a href="${pathUrl }/admin/vipUser/index" target="targetmain"><i class="iconfont  dicon   icon-user"></i>会员管理<i class="iconfont icon-angle-right right-jiantou"></i></a>
            </li>
            <li>
                <a href="${pathUrl }/admin/rechargeLog/index" target="targetmain">   <i class="iconfont  icon-money dicon"></i>充值记录<i class="iconfont icon-angle-right right-jiantou"></i></a>
            </li>
            <li>
                <a href="${pathUrl }/admin/adminUser/index" target="targetmain"> <i class="iconfont  dicon  icon-user-md"></i>系统用户<i class="iconfont icon-angle-right right-jiantou"></i></a>
            </li>
            <li>
                <a href="#" onclick="exit()" > <i class="iconfont  dicon  icon-sign-blank"></i>退出<i class="iconfont icon-angle-right right-jiantou"></i></a>
            </li>
        </ul>
    </div>
</div>

<div class="conter-main">
    <iframe name="targetmain" class="iframe" src="${pathUrl }/admin/work/index" scrolling="yes"></iframe>
</div>
</body>
<script>
    function exit() {
        layer.alert('系统退出成功', {icon: 1}, function () {
            window.location.href="${pathUrl }/logout";
        });

    }
</script>
</html>
